import request from "@/utils/request.js";

export default {
  list() {
    return request({
      url: "/server/integralGrade",
      method: "get",
    });
  },
  getById(id) {
    return request({
      url: "/server/integralGrade/" + id,
      method: "get",
    });
  },
  save(integralGrade) {
    return request({
      url: "/server/integralGrade",
      method: "post",
      data: integralGrade,
    });
  },
  updateData(integralGrade) {
    return request({
      url: "/server/integralGrade",
      method: "put",
      data: integralGrade,
    });
  },
  removeById(id) {
    return request({
      url: "/server/integralGrade/" + id,
      method: "delete",
    });
  },
};
